package org.xiji.menmentopattern;

/**
 * 用户状态备忘录类
 */
public class UserInfoMemento {
    /**
     * 状态
     */
    private String state;

    public UserInfoMemento(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }

    /**
     * 设置状态
     *  这里用来保存用户状态
     */
    public void setState(String state) {
        this.state = state;
    }

}
